home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / cxl52_1.zip / CXLDEMO.ASC < prev    next >
Text File  |  1990-02-17  |  13KB  |  617 lines

  1.  
  2. CXLDEMO.HLP
  3.  
  4. CXL is Copyright 1987-1990 by Mike Smedley
  5.  
  6. This file contains all the help text used in the CXL demonstration program.
  7.  
  8. *B 1,Global Help
  9.  
  10.  
  11.                             C X L
  12.  
  13.          The C Programmer's Extended Function Library
  14.  
  15.                         by Mike Smedley
  16.  
  17.           Copyright (c) 1987-1990  All Rights Reserved
  18.  
  19.        Press [F1] at any time for context-sensitive help.
  20.  
  21.           Press [Alt-X] at any time to exit the demo.
  22.  
  23.               Press [Esc] to exit this help screen.
  24. *E
  25.  
  26. *B 2,Windowing
  27.  
  28.  
  29.  
  30.                           Windowing
  31.                           ---------
  32.  
  33.         This demo demonstrates  various  miscellaneous
  34.         windowing  functions such  as text  scrolling,
  35.         resizing, moving, adding a title, changing box
  36.         type,  changing  window  attributes, and more.
  37.  
  38.  
  39.                   Press [Esc] to exit Help.
  40. *E
  41.  
  42. *B 3,Menuing
  43.  
  44.  
  45.  
  46.                            Menuing
  47.                            -------
  48.  
  49.          This demo will demonstrate the use of CXL's
  50.          menuing system in a sample of what could be
  51.          used as a shell for a text editing program.
  52.  
  53.  
  54.                   Press [Esc] to exit Help.
  55. *E
  56.  
  57. *B 4,List Picking
  58.  
  59.  
  60.  
  61.                          List Picking
  62.                          ------------
  63.  
  64.         This demo  will show you how you can  use CXL's
  65.         list picking functions in your application. You
  66.         will also see CXL's file picker in action. This
  67.         file picker is similar to the ones found in the
  68.         Turbo C and QuickC environments.
  69.  
  70.  
  71.                   Press [Esc] to exit Help.
  72. *E
  73.  
  74. *B 5,StrPick
  75.  
  76.  
  77.                          String Picker
  78.                          -------------
  79.  
  80.       You are  currently viewing  a  demo of  wpickstr(),
  81.       CXL's  string   picker   function.   This  function
  82.       accepts an  array of strings and  opens up a window
  83.       so you can use the  selection  bar to  move between
  84.       them  and  select  one.  Full  scrolling  and mouse
  85.       support is provided.
  86.  
  87.  
  88.                   Press [Esc] to exit Help.
  89. *E
  90.  
  91. *B 6,FilePick
  92.  
  93.  
  94.                           File Picker
  95.                           -----------
  96.  
  97.       You are  currently  viewing a demo  of wpickfile(),
  98.       CXL's file picker function.  This function  accepts
  99.       a wildcarded  filespec and  opens up a  window with
  100.       all  matching files and  directories.  You can  use
  101.       the selection bar to move between  them and  select
  102.       one.  You  can  change  to  a  different  directory
  103.       simply  by  selecting it.  Full scrolling and mouse
  104.       support is provided.
  105.  
  106.                   Press [Esc] to exit Help.
  107. *E
  108.  
  109. *B 7,Data Entry
  110.  
  111.  
  112.                           Data Entry
  113.                           ----------
  114.  
  115.         This demo will show you how you can use CXL's
  116.         multi-field input functions to process forms.
  117.         You will be shown the use of both the initial
  118.         entry,  and  the  updating  of input  fields.
  119.         You  will  also be  shown a  few  examples of
  120.         CXL's  flexible  single-line  input function.
  121.  
  122.  
  123.                   Press [Esc] to exit Help.
  124. *E
  125.  
  126. *B 8,Editing Keys
  127.  
  128.  
  129.                   Cursor Movement
  130.                   ---------------
  131.  
  132.           Arrow keys      - cursor movement
  133.           Ctrl-LeftArrow  - word left
  134.           Ctrl-RightArrow - word right
  135.           Home            - beginning of field
  136.           End             - end of line/field
  137.           Ctrl-Home       - beginning of first field
  138.           Ctrl-End        - end of last field
  139.           Tab             - next field
  140.           Shift-Tab       - previous field
  141. *P
  142.  
  143.  
  144.                 Inserting and Deleting
  145.                 ----------------------
  146.  
  147.           Ins             - toggle insert mode
  148.           Del             - delete character at cursor
  149.           BackSpace       - delete character left
  150.           Ctrl-BackSpace  - delete word left
  151.           Ctrl-T          - delete word right
  152.           Ctrl-U          - delete to end of field
  153.           Ctrl-Y          - delete to end of form
  154. *P
  155.  
  156.  
  157.                  Other Editing Keys
  158.                  ------------------
  159.  
  160.           Enter           - process current field
  161.           Ctrl-Enter      - process all fields
  162.           Ctrl-R          - restore field
  163.           Esc             - abort data entry
  164.  
  165.  
  166.           Also see:  ^Numeric Fields^
  167. *E
  168.  
  169. *B 9,Date
  170.  
  171.  
  172.  
  173.           Date
  174.           ----
  175.  
  176.           Enter today's date in MM/DD/YY format.
  177.  
  178.  
  179.           Also see:  ^Editing Keys^
  180. *E
  181.  
  182. *B 10,First Name
  183.  
  184.  
  185.  
  186.       First Name
  187.       ----------
  188.  
  189.       Enter your first name.
  190.  
  191.  
  192.       Also see:  ^Initial^   ^Last Name^   ^Editing Keys^
  193. *E
  194.  
  195. *B 11,Initial
  196.  
  197.  
  198.  
  199.       Initial
  200.       -------
  201.  
  202.       Enter your middle initial, or leave blank if you
  203.       don't have one.
  204.  
  205.  
  206.       Also see:  ^First Name^   ^Last Name^   ^Editing Keys^
  207. *E
  208.  
  209. *B 12,Last Name
  210.  
  211.  
  212.  
  213.       Last Name
  214.       ---------
  215.  
  216.       Enter your last name.
  217.  
  218.  
  219.       Also see:  ^First Name^   ^Initial^   ^Editing Keys^
  220. *E
  221.  
  222. *B 13,City
  223.  
  224.  
  225.  
  226.           City
  227.           ----
  228.  
  229.           Enter the name of the city in which you currently
  230.           live.
  231.  
  232.  
  233.           Also see:  ^State^   ^Zip Code^   ^Editing Keys^
  234. *E
  235.  
  236. *B 14,State
  237.  
  238.  
  239.  
  240.           State
  241.           -----
  242.  
  243.           Enter the 2-letter abbreviation for your state.
  244.  
  245.  
  246.           Also see:  ^City^   ^Zip Code^   ^Editing Keys^
  247. *E
  248.  
  249. *B 15,Zip Code
  250.  
  251.  
  252.  
  253.           Zip Code
  254.           --------
  255.  
  256.           Enter your 5 or 9-digit Zip code.
  257.  
  258.  
  259.           Also see:  ^City^   ^State^   ^Editing Keys^
  260. *E
  261.  
  262. *B 16,Compiler
  263.  
  264.  
  265.         Select Compiler
  266.         ---------------
  267.  
  268.         Use the selection bar to move around then press
  269.         [Enter] on  the  compiler  of your choice.  You
  270.         can  also  select a  compiler by  pressing  its
  271.         highlighted letter.
  272.  
  273.  
  274.         Also see:  ^Editing Keys^
  275. *E
  276.  
  277. *B 17,Amount
  278.  
  279.  
  280.  
  281.           Amount
  282.           ------
  283.  
  284.           Enter amount of invoice in dollars and cents.
  285.  
  286.  
  287.           Also see:  ^Numeric Fields^   ^Editing Keys^
  288. *E
  289.  
  290.  
  291. *B 18,Numeric Fields
  292.  
  293.  
  294.                      Numeric Fields
  295.                      --------------
  296.  
  297.       Editing  numeric fields is  different than normal
  298.       text fields.  Digits before the decimal point are
  299.       right  justified  and  space filled. Digits after
  300.       the  decimal  point are  left justified  and zero
  301.       filled.  Pressing [Enter] will  process the whole
  302.       numeric field and pressing the decimal point will
  303.       process only the digits before the decimal point.
  304.  
  305.  
  306.       Also see:  ^Editing Keys^
  307. *E
  308.  
  309. *B 19,Pulldown
  310.  
  311.  
  312.                   Example Editor Interface
  313.                   ------------------------
  314.  
  315.        This is an example of an editor-type interface
  316.        which would use a pull-down menu system.  Valid
  317.        movement/selection keys are:
  318.  
  319.            Arrow Keys - movement of selection bar
  320.            [Enter]    - selects menu item under bar
  321.            [Esc]      - backup 1 menu
  322.  
  323.        You may also select a menu item by pressing its
  324.        highlighted letter or by using a mouse.
  325. *E
  326.  
  327. *B 20,File
  328.  
  329.  
  330.  
  331.                           File Menu
  332.                           ---------
  333.  
  334.       This pull-down menu contains various file and system
  335.       commands.
  336.  
  337.  
  338.          ^Load^         ^Save^       ^Rename^       ^New^
  339.  
  340.          ^Directory^    ^Execute^    ^OS Shell^     ^Quit^
  341. *E
  342.  
  343. *B 21,Editing
  344.  
  345.  
  346.  
  347.                           Edit Menu
  348.                           ---------
  349.  
  350.       This pull-down menu contains various editing
  351.       commands.
  352. *E
  353.  
  354. *B 22,Load
  355.  
  356.  
  357.  
  358.       Load
  359.       ----
  360.  
  361.       This is used to load a file into the editor.
  362.  
  363.  
  364.       Also see:  ^Save^   ^Rename^
  365. *E
  366.  
  367. *B 23,Save
  368.  
  369.  
  370.  
  371.       Save
  372.       ----
  373.  
  374.       This is used to save current editing file.
  375.  
  376.  
  377.       Also see:  ^Load^   ^Rename^
  378. *E
  379.  
  380. *B 24,Rename
  381.  
  382.  
  383.  
  384.       Rename
  385.       ------
  386.  
  387.       This is used to rename current editing file
  388.       to another valid file name.
  389.  
  390.  
  391.       Also see:  ^Load^   ^Save^
  392. *E
  393.  
  394. *B 25,New
  395.  
  396.  
  397.  
  398.       New
  399.       ---
  400.  
  401.       This is used to clear the editor's workspace and
  402.       assign a new file name to it.
  403.  
  404.  
  405.       Also see:  ^Quit^
  406. *E
  407.  
  408. *B 26,Directory
  409.  
  410.  
  411.  
  412.       Directory
  413.       ---------
  414.  
  415.       This will prompt you for a file specification and
  416.       display a list of all files matching it.
  417. *E
  418.  
  419. *B 27,Execute
  420.  
  421.  
  422.  
  423.       Execute
  424.       -------
  425.  
  426.       This will prompt you for a DOS command, and then
  427.       will execute it.
  428.  
  429.  
  430.       Also see:  ^OS Shell^
  431. *E
  432.  
  433. *B 28,OS Shell
  434.  
  435.  
  436.  
  437.       OS Shell
  438.       --------
  439.  
  440.       This will allow you to exit to DOS.  When you are
  441.       finished in DOS, type 'EXIT' to return to the demo.
  442.  
  443.  
  444.       Also see:  ^Execute^
  445. *E
  446.  
  447. *B 29,Quit
  448.  
  449.  
  450.  
  451.       Quit
  452.       ----
  453.  
  454.       This selection allows you to exit the pull-down
  455.       portion of the CXL demonstration program.
  456.  
  457.  
  458.       Also see:  ^New^
  459. *E
  460.  
  461. *B 30,Scroll
  462.  
  463.  
  464.  
  465.                        Window Scrolling
  466.                        ----------------
  467.  
  468.        This demo shows you  how CXL's window TTY output
  469.        functions allowing scrolling  within the window.
  470.        Also demonstrated is CXL's ANSI-like Escape code
  471.        sequence capability.  It is being used to change
  472.        the color of the text as it scrolls.
  473.  
  474.  
  475.                   Press [Esc] to exit Help.
  476. *E
  477.  
  478. *B 31,ChgAttr
  479.  
  480.  
  481.  
  482.                    Change Window Attribute
  483.                    -----------------------
  484.  
  485.         This demo shows you how wchgattr() is able to
  486.         manipulate the colors of the  window's border
  487.         and the window itself along with text inside.
  488.  
  489.  
  490.                   Press [Esc] to exit Help.
  491. *E
  492.  
  493. *B 32,ChgBord
  494.  
  495.  
  496.  
  497.                     Change Window Border
  498.                     --------------------
  499.  
  500.      This demo shows you how wborder() is able to modify
  501.      the  window  border  of  the  active window. It can
  502.      change to different border  styles, or no border at
  503.      all, which  increases  the window's effective area.
  504.  
  505.  
  506.                   Press [Esc] to exit Help.
  507. *E
  508.  
  509. *B 33,WinTitle
  510.  
  511.  
  512.  
  513.                          Window Title
  514.                          ------------
  515.  
  516.         The wtitle() function gives  the active window
  517.         a title.  It can  also change/delete the title
  518.         as well.  The window title can also be used as
  519.         an  alternate  method of identifying a window.
  520.  
  521.  
  522.                   Press [Esc] to exit Help.
  523. *E
  524.  
  525. *B 34,Resize
  526.  
  527.  
  528.  
  529.                         Resize Window
  530.                         -------------
  531.  
  532.       This demo shows  you how the wsize() function can
  533.       be used to resize the active  window by adjusting
  534.       its lower right-hand corner's screen coordinates.
  535.  
  536.  
  537.                   Press [Esc] to exit Help.
  538. *E
  539.  
  540. *B 35,TextLine
  541.  
  542.  
  543.  
  544.                       Text Line Drawing
  545.                       -----------------
  546.  
  547.       The whline()  and wvline() functions  are used to
  548.       "draw"  horizontal  and  vertical  text lines. If
  549.       they  intersect  any  lines  having  the same box
  550.       type, an  appropriate  intersection will be made.
  551.       You are also able to connect with window borders.
  552.  
  553.  
  554.                   Press [Esc] to exit Help.
  555. *E
  556.  
  557. *B 36,WinMove
  558.  
  559.  
  560.  
  561.                          Move Window
  562.                          -----------
  563.  
  564.           This demo shows how the wmove() function
  565.           is used to relocate the active window to
  566.           a new  row,col coordinate on the screen.
  567.  
  568.  
  569.                   Press [Esc] to exit Help.
  570. *E
  571.  
  572. *B 37,WinHide
  573.  
  574.  
  575.  
  576.                          Hide Window
  577.                          -----------
  578.  
  579.            The whide() and wunhide() functions are
  580.            used for  hiding and unhiding  windows.
  581.  
  582.  
  583.                   Press [Esc] to exit Help.
  584. *E
  585.  
  586. *B 38,Activate
  587.  
  588.  
  589.  
  590.                        Activate Window
  591.                        ---------------
  592.  
  593.        This demo will show you how wactiv() activates
  594.        windows.   The  activation  process brings the
  595.        specified  window  to  the  front,  making  it
  596.        available for use to many windowing functions
  597.        which   require  the   window  to  be  active.
  598.  
  599.  
  600.                   Press [Esc] to exit Help.
  601. *E
  602.  
  603. *B 39,WinCopy
  604.  
  605.  
  606.  
  607.                          Copy Window
  608.                          -----------
  609.  
  610.          The  wcopy()  function  makes a  copy  of the
  611.          active window by wopen()-ing a new window and
  612.          copying the contents of the old window to it.
  613.  
  614.  
  615.                   Press [Esc] to exit Help.
  616. *E
  617.